package code;

import java.util.Date;

public interface IDateBasedFile {

	/**
	 * gets the date based on the name. If the original name of the folder is not in a known date format, then null is returned.
	 * 
	 * @return The date that correlates to the folder name, else null.
	 */
	public abstract Date getDateFromName();

	public abstract int getDay();

	public abstract String getExtra();

	public abstract String getPath();

	public abstract String getFileName();

	public abstract int getMonth();

	public abstract String getNameNew();

	public abstract IPhotoAlbum getParent();

	public abstract int getYear();

	public abstract boolean isPhoto();

	public abstract boolean isAlbum();

	public abstract boolean exists();
}